package org.ch00.test14;

/**
 * @author ZQX
 * @date 2025-03-14
 */
public class MainTest {
    public static void main(String[] args) {
        Box box = new Box();
        BoyThread boy = new BoyThread(box, "小明");
        BoyThread boy2 = new BoyThread(box, "小刚");
        GirlThread girl = new GirlThread(box, "小红");
        GirlThread girl2 = new GirlThread(box, "小花");
        GirlThread girl3 = new GirlThread(box, "小花花");
        boy.start();
        boy2.start();
        girl.start();
        girl2.start();
        girl3.start();
    }
}
